From: Aquila Macedo Date: Fri, 9 Jan 2026 00:34:26 +0000 (-0300) Subject: sysusers.d: lock mysql user and keep Debian home/shell X-Git-Tag: archive/raspbian/1%11.8.6-4+rpi1~4 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/%22mailto:kde%40ewsoftware.de/%22style.css//%22node%24level1.html/%22/%22http:/www.example.com/%22mailto:kde%40ewsoftware.de/%22style.css/%22node%24level1.html/%22?a=commitdiff_plain;h=7ca357b9d9690f27c2b221d43a2e3434a172036b;p=mariadb.git sysusers.d: lock mysql user and keep Debian home/shell Use u! and set HOME=/nonexistent and shell=/bin/false for the mysql user. This patch should be submitted upstream once proven stable in Debian. Forwarded: no Gbp-Pq: Name sysusers-lock-mysql-account.patch --- diff --git a/support-files/sysusers.conf.in b/support-files/sysusers.conf.in index a975b2947..8de384f45 100644 --- a/support-files/sysusers.conf.in +++ b/support-files/sysusers.conf.in @@ -1 +1 @@ -u @MYSQLD_USER@ - "MariaDB" @MYSQL_DATADIR@ +u! @MYSQLD_USER@ - "MariaDB Server" /nonexistent /bin/false